<?php
/**
 * Created by PhpStorm.
 * User: 86151 - 姜伟
 * Date: 2022/9/20 15:22.
 */

namespace Xinyu\Gen\Core\Libs;

class PostmanClient extends BaseClient
{
    use SingletonUtil;

    // 获取值
    public function getValue($type = '')
    {
        switch ($type) {
            case 'integer':
            case 'smallint':
            case 'boolean':
            case 'decimal':
                return 0;
                break;
            case 'string':
            case 'text':
            case 'datetime':
                return '';
                break;
            default:
                break;
        }
        return '';
    }
}
